package com.telit.uav.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.telit.uav.dto.UavFlyRecordDTO;
import com.telit.uav.entity.AppUavTrackDetail;

import java.util.List;
import java.util.Map;


/**
 * @Author:zhangwei
 * @Description:
 * @Time:Created on 2021/9/18 8:09
 */
public interface FlightDetailsService {
    /**
     * 根据任务ID查询时间轴信息
     * @param taskId
     */
    public Map<String,Object> getTimeAxisByTaskIdAndUseId(Long taskId,Long userId);

    /**
     *根据任务id、userId获取飞行轨迹信息
     * @param taskId
     * @return
     */
    List<AppUavTrackDetail> listUavTrackDetail(Long taskId, Long userId);

    /**
     *根据任务id、userId获取飞行轨迹信息
     * @param taskId
     * @return
     */
    List<AppUavTrackDetail> queryTrackDetail(Long taskId, Long userId);


    /**
     * 分页条件查询飞行记录列表
     * @param current
     * @param size
     * @param uavFlyRecordDTO
     * @return
     */
    IPage<UavFlyRecordDTO> listFlyRecordByPage(Integer current, Integer size, UavFlyRecordDTO uavFlyRecordDTO);
}
